package com.vhall.component.controller.interactive.facade;


import com.vhall.component.entity.interactive.vo.*;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author shenqing
 * @date 2021/6/9 18:15
 */
@FeignClient(value = "DocumentAdminFacade", path = "/v4/document/admin")
public interface DocumentAdminFacade {
    /**
     * 控制台文档上传
     *
     * @param reqVO
     * @return
     */
    @PostMapping("/upload")
    Boolean consoleUpload(@Validated DocumentConsoleUploadReqVO reqVO);

    /**
     * 控制台文档删除
     *
     * @param reqVO
     * @return
     */
    @PostMapping("/delete")
    DocumentDeleteRespVO delete(@Validated DocumentConsoleDeleteReqVO reqVO);

    /**
     * 控制台文档列表
     *
     * @param reqVO
     * @return
     */
    @GetMapping("/list")
    DocumentAdminListRspVO list(@Validated DocumentAdminListReqVO reqVO);
}
